package org.bspv.pharma.manager.impl;

import java.util.List;

import org.bspv.pharma.dao.StandardEquipmentDAO;
import org.bspv.pharma.manager.StandardEquipmentManager;
import org.bspv.pharma.model.Place;
import org.bspv.pharma.model.StandardEquipment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 
 * @author guillaume
 * 
 */
@Service(value = "standardEquipmentManager")
public class StandardEquipmentManagerImpl extends
		AbstractManagerImpl<StandardEquipment, Long> implements
		StandardEquipmentManager {

	@Autowired
	public StandardEquipmentManagerImpl(StandardEquipmentDAO dao) {
		super(dao);
	}

	public StandardEquipment findStandardEquipment(Place place) {
		return ((StandardEquipmentDAO) dao).findStandardEquipment(place);
	}

	public List<StandardEquipment> findStandardEquipments(List<Place> places) {
		return ((StandardEquipmentDAO) dao).findStandardEquipments(places);
	}

}
